startSyncing

fun startSyncing(syncFolder: SyncFolder, callback: SyncDelegate?, isMasterSyncer: Boolean)

If the syncing process hasn't already been established then this synchronously downloads the initial data set. It then kicks off a background thread to continuously sync this data file. If syncing has already started this does nothing.

Parameters

syncFolder

The online "folder" in which sync files are stored

isMasterSyncer

true if this data set is a master copy; that is, it's not a mobile device or secondary desktop copy

Throws

whenever it feels the urge